package cn.quang.search.admin.service;

import cn.quang.search.admin.entity.dto.Operator;
import cn.quang.search.admin.entity.dto.Result;
import cn.quang.search.admin.entity.vo.innerfetcher.SearchResultInnerFetcherRequest;
import cn.quang.search.admin.entity.vo.innerfetcher.SearchResultInnerFetcherWithFieldDicVO;

import java.util.List;

/**
 * @author:  Entity Generator
 * @since:  2024-03-08 19:21:58
 */
public interface ISearchResultInnerFetcherService {
//    Result<Pagination<SearchResultInnerFetcherListItemVO>> list4View(Operator operator, SearchResultInnerFetcherQueryRequest request);

//    Result<SearchResultInnerFetcherDetailVO> detail4View(Operator operator, long id);

    Result<Long> add(Operator operator, SearchResultInnerFetcherRequest request);

    Result<?> update(Operator operator, long id, SearchResultInnerFetcherRequest request);

    Result<?> delete(Operator operator, long id);

//    Result<List<SearchResultInnerFetcherFieldDicVO>> fieldDices4View(Operator operator, long innerFetcherId);

    Result<List<SearchResultInnerFetcherWithFieldDicVO>> listWithFieldDices(Operator operator);
}
